package com.gy.def.service;

import com.gy.def.dataobject.UserTable;

import java.util.List;

public interface UserService {
  /**
   * 新增或修改用户
   */
  UserTable save(UserTable userTable);

  List<UserTable> findAll();

  UserTable findByUserNameAndUserPwd(String userName, String userPwd);

  UserTable findByUserName(String userName);

  UserTable findByUserNameAndUserPwdAndUserType(String userName, String userPwd, Integer userType);
}
